import request from '@/utils/request'

const api = {
  query: '/v1/auth/options',
  updates: '/v1/auth/options/update'
}


export const getList = () => {
  return request({
    url: api.query,
    method: 'get',
  })
}

export const updates = (param) => {

  return request({
    url: api.updates,
    method: 'post',
    data: param
  })
}